/*
 * @Descripttion: toolbar
 * @Author: 人生只如初见
 * @Date: 2021-09-24 10:38:16
 * @LastEditors: 人生只如初见
 * @LastEditTime: 2021-09-26 18:37:17
 */

import Vue from "vue";
import AttributePanel from './attributePanel.jsx'

export  function initAttributePanel(options = {}) {
  let {editor, editData, container} = options
  if(!container)  return console.error('attributePanel没有包裹容器');
  const Mask = Vue.extend(AttributePanel);
  let mask = new Mask()
  mask.editor = editor
  mask.editData = editData
  mask.$mount(container)

}
